home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-06-23 | 2.3 KB | 74 lines |
- # File: MakeFile
- #
- # Description: MPW make command file for generating build commands. MPW build
- # commands for a finder launch tool.
- #
- # Author: John Montbriand
- #
- # Copyright: Copyright: © 1999 by Apple Computer, Inc.
- # all rights reserved.
- #
- # Disclaimer: You may incorporate this sample code into your applications without
- # restriction, though the sample code has been provided "AS IS" and the
- # responsibility for its operation is 100% yours. However, what you are
- # not permitted to do is to redistribute the source as "DSC Sample Code"
- # after having made changes. If you're going to re-distribute the source,
- # we require that you make it clear in the source that the code was
- # descended from Apple Sample Code, but that you've made changes.
- #
- # Change History (most recent first):
- #
- # 9/13/99 - created - JM
- #
-
- PPCObjects = :obj:FinderLaunch.c.ppc :obj:FinderLaunchTool.c.ppc
- M68kObjects = :obj:FinderLaunch.c.68k :obj:FinderLaunchTool.c.68k
-
- CC68k = SC -align power -proto strict
- CCppc = MrC -w 35 -align power -proto strict
-
- RezFiles = FinderLaunchTool.r
- TargetFile = FinderLaunchTool
-
- # resources
-
- {TargetFile} ƒƒ {RezFiles} {M68kObjects} {PPCObjects}
- Rez -t "APPL" -i "{RIncludes}" -o {TargetFile} {RezFiles}
-
- # object code
-
- {TargetFile} ƒƒ {RezFiles} {M68kObjects}
- Link -w -o {TargetFile} -t "MPST" -c 'MPS ' -sym off ∂
- {M68kObjects} ∂
- {CLibraries}StdCLib.o ∂
- {Libraries}MathLib.o ∂
- {Libraries}Interface.o ∂
- {Libraries}MacRuntime.o ∂
- {Libraries}ToolLibs.o ∂
- {Libraries}IntEnv.o
-
- {TargetFile} ƒƒ {RezFiles} {PPCObjects}
- PPCLink -t "MPST" -c 'MPS ' -o {TargetFile} ∂
- {PPCObjects} ∂
- {SharedLibraries}InterfaceLib ∂
- {SharedLibraries}StdCLib ∂
- {SharedLibraries}MathLib ∂
- {PPCLibraries}PPCCRuntime.o ∂
- {PPCLibraries}StdCRuntime.o ∂
- {PPCLibraries}PPCToolLibs.o
-
- # source code
-
- :obj:FinderLaunch.c.ppc ƒ FinderLaunch.c FinderLaunch.h
- {CCppc} FinderLaunch.c -o :obj:FinderLaunch.c.ppc
-
- :obj:FinderLaunch.c.68k ƒ FinderLaunch.c FinderLaunch.h
- {CC68k} FinderLaunch.c -o :obj:FinderLaunch.c.68k
-
-
- :obj:FinderLaunchTool.c.ppc ƒ FinderLaunchTool.c FinderLaunch.h
- {CCppc} FinderLaunchTool.c -o :obj:FinderLaunchTool.c.ppc
-
- :obj:FinderLaunchTool.c.68k ƒ FinderLaunchTool.c FinderLaunch.h
- {CC68k} FinderLaunchTool.c -o :obj:FinderLaunchTool.c.68k
-